<%-- 
    Document   : index
    Created on : 03-may-2012, 16:38:18
    Author     : dblack
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Primera pagina</title>
	<script src="lib/jquery1.7/jquery-1.7.1.js"></script>
	<script src="lib/jquery1.7/ui/jquery.ui.core.js"></script>
	<script src="lib/jquery1.7/ui/jquery.ui.widget.js"></script>
	<script src="lib/jquery1.7/ui/jquery.ui.button.js"></script>
	<link rel="stylesheet" href="lib/jquery1.7/themes/start/jquery-ui-1.8.17.custom.css">
        
        <script>
	$(function() {
		$("#b").button();
                $("#b").click(function(e){
                    $.ajax({
                    url: "NewServlet",
                    data:'', 
   		    type: 'post',
   		    dataType: 'json',
   		    success: function(data){
   		    }  
   		});
                });
	});
	</script>
    </head>
    <body>
        <h1>Lo que venga</h1>
        <button id="b">Veamos</button>
    </body>
</html>
